﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mod.aspx.cs" Inherits="mod" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>家具销售平台</title>
	<style>TD { FONT-SIZE: 12px; FONT-FAMILY: 宋体 }
	TH { FONT-SIZE: 12px; FONT-FAMILY: 宋体 }
		.auto-style1 {
            height: 43px;
        }
		</style>
	</HEAD>
	<body >
		<form id="Form1" method="post" runat="server">
			
			<table border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#008000" style="border-color: #CCFF99; border-collapse:collapse; height: 135px; width: 69%;">
				<tr>
					<td width="20%" style="border-color: #CCFF99; background-color: #CCFF99;" colspan="2"><h3 align="center" style="background-color: #CCFF99">修改密码</h3></td>
				</tr>
				<tr>
					<td width="20%" style="border: medium solid #CCFF99;">&nbsp;原密码：</td>
					<td width="80%" style="border: medium solid #CCFF99;">&nbsp;
						<asp:TextBox id="loginpw" runat="server" Width="144px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="loginpw" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                    </td>
				</tr>
				<tr>
					<td style="border: medium solid #CCFF99;">&nbsp;新密码：</td>
					<td style="border: medium solid #CCFF99;">&nbsp;
						<asp:TextBox id="loginpwx" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="loginpwx" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                    </td>
				</tr>
				<tr>
					<td style="border: medium solid #CCFF99;" >&nbsp;确认密码：</td>
					<td style="border: medium solid #CCFF99;" >&nbsp;
						<asp:TextBox id="loginpwx2" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="loginpwx" ControlToValidate="loginpwx2" ErrorMessage="两次密码不一致"></asp:CompareValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="loginpwx2" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                    </td>
				</tr>
				<tr>
					<td style="border: medium solid #CCFF99;">&nbsp;</td>
					<td style="border: medium solid #CCFF99;">&nbsp;
						<asp:Button id="Button1" runat="server" Width="48px" Text="修改" onclick="Button1_Click"></asp:Button>&nbsp;
                        <input id="Reset1" style="width: 50px" type="reset" value="重填" /></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
